package com.bite.configdemo.model;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Data
@Component
@ConfigurationProperties(prefix = "student")
public class Student {
    private Integer sid;
    private String sname;
    private List<String> slist;
    private Map<String, String> smap;
}

